vcSimInterfaceSection

vcSimInterfaceSection is a collection of connector fields in an interface.

See in: Overview

Module: vcBehaviors

Parent: vcObject

Children -

Referenced by: vcOneToManyInterface.Sections, vcOneToManyInterface.createSection(), vcSimInterface.ConnectedFromSections, vcSimInterface.ConnectedToSections, ... (see more)
vcOneToManyInterface.Sections
vcOneToManyInterface.createSection()
vcSimInterface.ConnectedFromSections
vcSimInterface.ConnectedToSections
vcSimInterface.Sections
vcSimInterface.createSection()
vcSimInterfaceField.Section

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
ConnectedToSectionvcSimInterfaceSectionRGets a section connected to the section.
If section is not connected, value is None.
FieldsvcList[vcSimInterfaceField]RGets all interface fields in this section.
FramevcFrameFeatureRWGets or sets frame feature that defines physical position of this section.

Exceptions:
RuntimeError: When trying to modify a connected interface.
IndexIntegerRWGets or sets the zero-based index of this section in the interface.
See more
Exceptions:
IndexError: When assigning a negative value.
RuntimeError: When trying to modify a connected interface.
InterfacevcSimInterfaceRGets the interface this section is in.
NameStringRWGets or sets name of section. The name doesn't have to be unique.

Exceptions:
RuntimeError: When trying to modify a connected interface.

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
createFieldvcSimInterfaceFieldvcSimInterfaceFieldType fieldType,
String name
Creates a new interface field of the given type to this section.
See more
Parameters:
fieldType (vcSimInterfaceFieldType): The type of field to create.
name (str): Field name to assign. Empty string is replaced with "Unnamed".

Returns:
vcSimInterfaceField: The created interface field object.

Exceptions:
ValueError: When given the field type is not supported by this interface.
RuntimeError: When trying to modify a connected interface.
deleteNoneNoneDeletes this interface section.

Exceptions:
RuntimeError: When trying to modify a connected interface.